package io.geekidea.boot.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.geekidea.boot.shop.entity.SignRewardRecord;
import io.geekidea.boot.shop.query.app.AppSignRewardRecordQuery;
import io.geekidea.boot.shop.query.web.SignRewardRecordQuery;
import io.geekidea.boot.shop.vo.app.AppSignRewardRecordVo;
import io.geekidea.boot.shop.vo.web.SignRewardRecordVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *  Mapper 接口
 *
 * @author geekidea
 * @since 2024-10-27
 */
@Mapper
public interface SignRewardRecordMapper extends BaseMapper<SignRewardRecord> {

    /**
     * 详情
     *
     * @param id
     * @return
     */
    SignRewardRecordVo getSignRewardRecordById(Integer id);

    /**
     * 分页列表
     *
     * @param query
     * @return
     */
    List<SignRewardRecordVo> getSignRewardRecordPage(SignRewardRecordQuery query);

    /**
     * Appnull详情
     *
     * @param id
     * @return
     */
    AppSignRewardRecordVo getAppSignRewardRecordById(Integer id);

    /**
     * Appnull分页列表
     *
     * @param query
     * @return
     */
    List<AppSignRewardRecordVo> getAppSignRewardRecordPage(AppSignRewardRecordQuery query);

}
